<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<title>Carousel (dojo.store)</title>

	<script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','Carousel','PageIndicator']"></script>
	<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true, mblAlwaysHideAddressBar: true"></script>

	<script type="text/javascript">
		require([
			"dojo/_base/declare",
			"dojo/_base/lang",
			"dojo/ready",
			"dojo/store/JsonRest",
			"dojox/mobile/StoreCarousel",
			"dojox/mobile/parser",
			"dojox/mobile",
			"dojox/mobile/compat",
			"dojox/mobile/View"
		], function(declare, lang, ready, JsonRest, StoreCarousel){
			ready(function(){
				var store1 = new JsonRest({target: "data/carousel-dish.json"});
				var carousel1 = new StoreCarousel({height:"150px", navButton:true, store:store1, numVisible:"2", title:"Category"}, "carousel1");
				carousel1.startup();
			})
		});
	</script>
</head>
<body style="visibility:hidden;background-color:#6D6D6D">
	<div id="foo" data-dojo-type="dojox.mobile.View">
		<div id="carousel1"></div>
	</div>
</body>
</html>
